<%-- 
    Document   : Login
    Created on : Jun 13, 2012, 5:24:22 PM
    Author     : hcl
--%>

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Sign On</title>
</head>

<body>
<s:form action="Login_login">
    <s:textfield key="username"/>
    <s:password key="password" />
    <s:submit/>
</s:form>
<s:url action="MyAction" includeParams="none" value="URL"> 
      <s:param name="param1" value="hello"></s:param> 
      <s:param name="param2" value="world"></s:param> 
      </s:url>
      
<a href="<s:url action="MyAction" includeParams="none"> 
      <s:param name="param1" value="%{username}"></s:param> 
      <s:param name="param2" value="%{password}"></s:param> 
      </s:url>">Test </a>
      
      param1: <s:property value="%{param1}"/> 
      param2: <s:property value="%{param2}"/> 
</body>
</html>
